package com.gamecollection.minesweeper;

import com.gamecollection.minesweeper.model.MinesweeperModel;

/**
 * 测试扫雷难度选择界面
 */
public class TestLevelSelection {
    
    public static void main(String[] args) {
        MinesweeperModel model = new MinesweeperModel();
        
        System.out.println("=== 扫雷难度选择界面测试 ===");
        System.out.println("窗口尺寸: " + model.getWidth() + " × " + model.getHeight() + " 像素");
        System.out.println();
        
        // 测试不同难度下的窗口尺寸
        System.out.println("不同难度下的窗口尺寸:");
        
        // 简单难度
        model.setLevel(0);
        System.out.println("简单难度: " + model.getWidth() + " × " + model.getHeight() + " 像素");
        
        // 中等难度
        model.setLevel(1);
        System.out.println("中等难度: " + model.getWidth() + " × " + model.getHeight() + " 像素");
        
        // 困难难度
        model.setLevel(2);
        System.out.println("困难难度: " + model.getWidth() + " × " + model.getHeight() + " 像素");
        
        System.out.println();
        System.out.println("✓ 难度选择界面已优化:");
        System.out.println("  - 背景渐变完全填充窗口");
        System.out.println("  - 标题居中显示");
        System.out.println("  - 按钮居中显示");
        System.out.println("  - 消除了右边和下边的黑边");
    }
} 